package com.steed.app.two;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Description: Springboot 启动类
 *
 * @author Tony Zhu
 * @since 1.0-SNAPSHOT
 */
@SpringBootApplication
@EnableDiscoveryClient
public class AppTwoApplication {
    public static void main(String[] args) {
        SpringApplication.run(AppTwoApplication.class);
    }

    protected SpringApplicationBuilder configure(
            SpringApplicationBuilder builder) {
        return builder.sources(AppTwoApplication.class);
    }
}
